/**********************************************************************
xing yongkang
College of Computer Science and Technology, Chongqing University, China.
************************************************************************/
#include <iostream>
#include <sstream>
using namespace std;
int main()
{
    int temp;
    cin>>temp;
    //吐血推荐：可以完成任何基本类型（int,float,long...）和string类型之间的转换.
    stringstream ss;
    ss<<temp;
    string str;
    ss>>str;

    for(int i = 0; i<str.length();i++)
    {
        if(i == 0)
            cout<<str[i];
        else
            cout<<"   "<<str[i];
    }
}